package com.sp.scmdb.service;

import java.util.List;

import com.sp.scmdb.bean.DepartmentBean;
import com.sp.scmdb.bean.UserBean;
import com.sp.scmdb.entity.Department;

public interface DepartmentService {

	List<Department> queryAll();

	List<Department> queryAllByHql(String hql);

	List<Department> queryAll(UserBean user);

	String newDep(DepartmentBean t, UserBean user);

	String editDep(DepartmentBean t, UserBean user);

	Department findID(String depId);

	String delDep(String[] arr, UserBean user);
}
